package com.example.data.entity

import org.jetbrains.exposed.sql.Table


object ASMREntity : Table("t_asmr") {
    val id = integer("id").autoIncrement()
    val title = varchar("title", 255)
    val img = varchar("img", 255)
    val img240 = varchar("img240", 255)
    val name = varchar("name", 255)
    val rateCount = integer("rate_count")
    val rateAverage = float("rate_average")
    val createDate = varchar("create_date", 20)
    val cv = varchar("cv", 255)
    val tag = varchar("tag", 255)

    override val primaryKey: PrimaryKey
        get() = PrimaryKey(id)
}